﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;
using Akrad.Portal.Core.Entitys.MContents.Category;
using SPGenesis.Core;

namespace Akard.Portal.Services.Domain.MContents.Categorys
{
    public partial class CategoryServices:ICategorys
    {
        public CategoryEntity GetCategoryEntity(int Id, SPWeb sweb)
        {
            // TODO: Implement this method
            throw new NotImplementedException();
        }

        public List<CategoryEntity> GetallList(SPWeb sweb)
        {
            // TODO: Implement this method
            throw new NotImplementedException();
        }

        public List<CategoryEntity> GetallList(SPWeb sweb, string query)
        {
            // TODO: Implement this method
            throw new NotImplementedException();
        }
        /// <summary>
        /// Install List
        /// </summary>
        /// <param name="sweb"></param>
        public void InstalList(SPWeb sweb)
        {            
            CategoryIntances.Instance.Provision(sweb);
        }

        public void CreateCategory(SPWeb sweb, CategoryEntity entity)
        {
            // TODO: Implement this method
            throw new NotImplementedException();
        }

        public void CreateCategory(SPContext crcontext, CategoryEntity entity, out int itemid)
        {
            // TODO: Implement this method
            itemid = 0;
            throw new NotImplementedException();
        }

        public void CreateCategory(SPSite site, CategoryEntity entity, out bool flag)
        {
            // TODO: Implement this method
            flag = false;
            throw new NotImplementedException();
        }

        public void UpdateCategory(SPWeb sweb, CategoryEntity entity, out int itemid)
        {
            // TODO: Implement this method
            itemid = 0;
            throw new NotImplementedException();
        }

        public void UpdateCategory(SPWeb sweb, CategoryEntity entity, out bool flag)
        {
            // TODO: Implement this method
            flag = false;
            throw new NotImplementedException();
        }

        public void DeleteCategory(SPWeb sweb, int itemId, out int itemid)
        {
            // TODO: Implement this method
            itemid = 0;
            throw new NotImplementedException();
        }

        public void DeleteCategory(SPWeb sweb, CategoryEntity entity, out int itemid)
        {
            // TODO: Implement this method
            itemid = 0;
            throw new NotImplementedException();
        }

        public void DeleteCategory(SPWeb sweb, CategoryEntity entity, out bool flag)
        {
            // TODO: Implement this method
            flag = false;
            throw new NotImplementedException();
        }

        public void DeleteCategory(SPWeb sweb, int itemid, out bool flag)
        {
            // TODO: Implement this method
            flag = false;
            throw new NotImplementedException();
        }
    }
}
